<?php

namespace Drinkiit\UtilisateurBundle\Form\Type;

use Symfony\Component\Form\FormBuilder;
use FOS\UserBundle\Form\Type\RegistrationFormType as BaseType;

class RegistrationFormType extends BaseType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        parent::buildForm($builder, $options);
        $builder->add('nom', 'text', array('required' => false));
        $builder->add('prenom', 'text', array('required' => false));
    }

    public function getName()
    {
        return 'FOSUserBundle_registration';
    }
}

?>
